package com.hbu.product.hbumallproduct.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 90458
 */
@FeignClient("ware")
public interface WareFeignService {

    @RequestMapping(value = "/ware/waresku/getSkuStockStatus/{skuId}", method = RequestMethod.GET)
    Boolean getSkuStockStatus(@PathVariable Long skuId);

}
